public class BYD extends Car2{
    public BYD(String name,genderCarType type,double fees){
        super(name,type,fees);
    }
    @Override
    public void carFunction(){
        System.out.println("具备外放电功能");
    }

    @Override
    public String toString() {
        return "汽车名称:"+getName()+",汽车类型："+getType()+",费用:"+getFees();
    }
}
